package com.cocoiko.utils;

import java.util.ArrayList;
import java.util.List;

import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;

public class CocoikoEventPostData {

	public int tid;
	public String message;
	public int pri = 1;
	public boolean twitter = false;
	public boolean facebook = false;
	public int limit = 1000;
	public int version = 2;

	public List<NameValuePair> getParams() {
		List<NameValuePair> params = new ArrayList<NameValuePair>();
		params.add(new BasicNameValuePair("tid", String.valueOf(tid)));
		params.add(new BasicNameValuePair("message", message));
		params.add(new BasicNameValuePair("pri", String.valueOf(pri)));
		params.add(new BasicNameValuePair("twitter", String.valueOf(twitter)));
		params.add(new BasicNameValuePair("facebook", String.valueOf(facebook)));
		params.add(new BasicNameValuePair("limit", String.valueOf(limit)));
		params.add(new BasicNameValuePair("v", String.valueOf(version)));
		return params;

	}
}
